package com.usian.controller;

import com.alibaba.druid.pool.DruidDataSource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class JdbcConfigurationtest4 {

    @Autowired
    private DruidDataSource dataSource4;

    @GetMapping("/jdbcConfig4")
    public String jdbcConfig(){
        return dataSource4.getName()+"=====444444========"+dataSource4.getUrl();
    }

}
